package com.ztgf.shopping.models.service.shop;

import com.baomidou.mybatisplus.service.IService;
import com.ztgf.shopping.models.bo.shop.ShopSalesAreaBO;
import com.ztgf.shopping.models.bo.shop.ShopSalesAreaSaveBO;
import com.ztgf.shopping.models.dto.shop.ShopSalesAreaDTO;
import com.ztgf.shopping.models.vo.shop.ShopSalesAreaVO;

import java.util.List;

/**
 * 店铺可售区域表服务
 *
 * @author zhanghualang
 * @Date 2020-05-27 15:21:49
 */
public interface IShopSalesAreaService extends IService<ShopSalesAreaDTO> {
    boolean add(ShopSalesAreaSaveBO saveBO);

    List<ShopSalesAreaVO> queryList(ShopSalesAreaBO bo);

    boolean updateArea(Long shopId, String ids);

    List<ShopSalesAreaVO> queryAllList(ShopSalesAreaBO bo); //店铺所有可售区域
}
